//
//  IpUtils.h
//  socketDemo
//
//  Created by 吳瀾洲 on 2020/8/4.
//  Copyright © 2020 kingboyrang. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface IpUtils : NSObject

//获取设备当前网络IP地址
+ (NSString *)getNetworkIPAddress;

//获取设备当前本地IP地址
+ (NSString *)getLocalIPAddress:(BOOL)preferIPv4;

@end

NS_ASSUME_NONNULL_END
